package com.migration.model.olddb;

import jakarta.persistence.*;
import lombok.Data;
import java.io.Serializable;

/**
 *  实体类
 * 表名：sys_user_depart
 * 自动生成的实体类
 */
@Data
@Entity
@Table(name = "sys_user_depart")
public class SysUserDepart implements Serializable {

    private static final long serialVersionUID = 1L;
    
    /**
     * id
     * 主键
     */
    @Id
    @Column(name = "ID", nullable = false, length = 32)
    private String ID;
    
    /**
     * 用户id
     */
    @Column(name = "user_id", length = 32)
    private String userId;
    
    /**
     * 部门id
     */
    @Column(name = "dep_id", length = 32)
    private String depId;
    
    @Override
    public String toString() {
        return "SysUserDepart{" +
            "ID=" + ID +
            ", userId=" + userId +
            ", depId=" + depId +
        '}';
    }
} 